<?php
require_once('../smarty_admin.php');

	
	$catolog_id = 0;
	
	if (array_key_exists('catolog_id',$_REQUEST)) 
	{
	
	$catolog_id = $_REQUEST['catolog_id'];
	

	$sql= "SELECT * FROM `thongtins` WHERE catolog_id = $catolog_id";
	

	
	$item_arr = $dbobject->query($sql, MYSQL_ASSOC);

		
	}

	

	
	$smarty->assign('item_arr',$item_arr);
	
	$smarty->assign('catolog_id',$catolog_id);
	
	
	$smarty->display('thongtin/list.tpl');
?>